Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing Extensions and Drivers /
Chapter 4 - Printing Messages / Printing Messages Reference
Printing Messages / PostScript Imaging Messages


GXPostScriptStreamFont

QuickDraw GX sends the GXPostScriptStreamFont message when the imaging system determines that a font is needed to print a document. You can override the GXPostScriptStreamFont message to provide font management on a remote host. Your override of the PostScriptStreamFont message must match the following formal declaration:

OSErr MyPostScriptStreamFont (gxFont fontRef,
                              gxScalerStream *stream);
fontRef
A reference to the font to be streamed.
stream
A pointer to the gxScalerStream structure that specifies how to stream the font to the printer.
function result
An error code. The value noErr indicates that the operation was successful.
DESCRIPTION
The default implementation of the GXPostScriptStreamFont message streams the specified font to the printer. You can override this message to determine when a font is being downloaded or to change the streaming method used to send the font to the printer.

SPECIAL CONSIDERATIONS
You must forward the GXPostScriptStreamFont message.

RESULT CODES
gxSegmentLoadFailedErrA required code segment could not be found,
or there was not enough memory to load it.
gxPrUserAbortErrThe user has canceled printing.
The default implementation of the GXPostScriptStreamFont message can also return the communications errors that are listed in Table 4-2 on page 4-42.

SEE ALSO
The gxScalerStream structure is described in Inside Macintosh: QuickDraw GX Environment and Utilities.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help